Skip to content

Assign or detach a user's sub-client

Request

Assigns the user to a sub-client (forcing the sub-client-viewer role), or detaches them when subClientId is omitted/null.

Security
oauth2(Required scopes: sub-clients:manage)
Path
idstring, (uuid)required
Bodyapplication/jsonrequired
subClientIdstring or null, (uuid)
curl -i -X PATCH \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/users/{id}/subclient' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "subClientId": "0cbd3b85-fa44-4475-a987-1d9ee2a6e610"
  }'

Responses

OK

Response
No content